<?php

namespace Shared\Main;

use Doctrine\ORM\Mapping as ORM;

/**
 * 
 * @ORM\Entity(readOnly=true)
 * @ORM\Table(name="language_variations")
 */
class LanguageVariation {

    /**
     * @ORM\Id
     * @ORM\GeneratedValue
     * @ORM\Column(type="integer")
     */
    protected $id;

    /**
     * @ORM\ManyToOne(targetEntity="Language")
     * @ORM\JoinColumn(name="languageId", referencedColumnName="id")
     */
    protected $Language;

    /**
     * @ORM\Column(type="string")
     */
    protected $name;
    
    /**
     * @ORM\Column(type="string")
     */
    protected $slug;

    public function getId() {
        return $this->id;
    }

    public function setId($id) {
        $this->id = $id;
    }

    public function getLanguage() {
        return $this->Language;
    }

    public function setLanguage($Language) {
        $this->Language = $Language;
    }
    
    public function getName() {
        return $this->name;
    }

    public function setName($name) {
        $this->name = $name;
    }
    
    public function getSlug() {
        return $this->slug;
    }

    public function setSlug($slug) {
        $this->slug = $slug;
    }
}
